import {_http} from '@/axios/http';
import path from '@/axios/path';

const state = {
  yy:'ttt'
};

const getters = {};

const actions = {
  //order
  getorderRecords({commit}, data) {
    return _http(`${path.orderRecords}`, data)
      .then(res => {return res})
      .catch(err => {return err})
  },
  getaccountGroupDetail({commit}, data) {
    return _http(`${path.accountGroupDetail}`, data)
      .then(res => {return res})
      .catch(err => {return err})
  },
  getorderExport({commit}, data) {
    return _http(`${path.orderExport}`, data)
      .then(res => {return res})
      .catch(err => {return err})
  },

};
const mutations = {

};
export default {
  state,
  getters,
  mutations,
  actions
}
